package cn.portx.frame.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import cn.portx.entity.BaseEntity;

@Entity
@Table(name = "T_MINE_NOTICE")
public class MineNotice extends BaseEntity {

	private static final long serialVersionUID = 3274703354879246639L;

	@Column(name = "SENDER_")
	@PropertyDef(label = "发送人")
	private String sender;

	@Column(name = "RECEIVER_")
	@PropertyDef(label = "接收人")
	private String receiver;

	@Column(name = "CONTENT_")
	@PropertyDef(label = "消息内容")
	@Lob
	private String content;

	@Column(name = "READ_")
	@PropertyDef(label = "已读", description = "0：未读；1：已读")
	private int read;

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getRead() {
		return read;
	}

	public void setRead(int read) {
		this.read = read;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

}
